package study.saas.order.service.model;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel
public class PorderAddDTO implements Serializable {
    @Column
    @ApiModelProperty(value = "订单ID")
    private Integer porderId;

    @Column
    @ApiModelProperty(value = "订单商品名称")
    private String porderCommodityName;

    @Column
    @ApiModelProperty(value = "订单商品数量")
    private Integer porderCommodityAmount;

    @Column
    @ApiModelProperty(value = "订单商品价格")
    private BigDecimal porderCommodityPrice;

    @Column
    @ApiModelProperty("收货地址")
    private String buyerAddress;

    @Column
    @ApiModelProperty("买家姓名")
    private String buyerName;
}
